//
//  MyHead.h
//  lyxluyou
//
//  Created by mmyy on 15/10/15.
//  Copyright (c) 2015年 mmyy. All rights reserved.
//

#ifndef lyxluyou_MyHead_h
#define lyxluyou_MyHead_h

#define LYRGB(r, g, b) [UIColor colorWithRed:(r)/255.0 green:(g)/255.0 blue:(b)/255.0 alpha:1.0]

#define firstUrl @"http://api.breadtrip.com/destination/v3/?last_modified_since=0"
#define daluUrl @"http://api.breadtrip.com/destination/index_places/8/"
#define remenUrl @"http://api.breadtrip.com/destination/place/"
#define appendRemen @"/pois/all/?start=0&count=%d&sort=default&shift=false"
#define xiangqingUrl @"http://api.breadtrip.com/destination/place/5/%@/poi_trips/?start=0&count=%d"
#define nearbyUrl @"http://api.breadtrip.com/place/pois/nearby/?category=%@&start=0&count=%d&latitude=%f&longitude=%f"
#define nearbyxqUrl @"http://api.breadtrip.com/destination/place/5/%@/"
#define moreImageUrl @"http://api.breadtrip.com/destination/place/5/%@/photos/?start=0&count=%d&gallery_mode=true"
#define xinchengUrl @"http://api.breadtrip.com/trips/%@/waypoints/"

#define jincaUrl @"http://api.breadtrip.com/v2/index/"

#define currentdayUrl @"http://api.breadtrip.com/v2/new_trip/spot/hot/list/?start=%lu"

#define gushiXiangqingUrl @"http://api.breadtrip.com/v2/new_trip/spot?spot_id=%@"

#define userInfoUrl @"http://api.breadtrip.com/v2/users/%@/"

#define weatherUrl @"http://op.juhe.cn/onebox/weather/query?cityname=%@&key=f40b95041928d2f4bfc77528f2d7592e"

#define SINA_APP_KEY                @"3601604349"
#define SINA_APP_SECRET             @"7894dfdd1fc2ce7cc6e9e9ca620082fb"
#define redirect_uri @"http://hi.baidu.com/jt_one"
//授权登录的接口
#define SINA_AUTHORIZE_SEVER  @"https://api.weibo.com/oauth2/authorize"
#define SINA_FENGXIANG @"2/statuses/upload.json"

//图片https://upload.api.weibo.com/2/statuses/upload.json
//存储对应的值到本地
#define ACCESS_TOKEN @"ACCESS_TOKEN"
#define REMIND_IN @"REMIND_IN"
#define EXPIRES_IN  @"EXPIRES_IN"
#define UID @"UID"
//查看新浪用户信息接口
#define Sine_search_User @"https://api.weibo.com/2/users/show.json"

#define SCREEN_NAME @"screen_name"
#define PROFILE_IMAGE_URL @"prefile_image_url"
#define FOLLOWERS_COUNT @"follwers_count"
#define FRIENDS_COUNT @"friends_count"


#endif
